#ifndef __CPPJIEBA_HPP__
#define __CPPJIEBA_HPP__

#include "SplitTool.hpp"
#include <vector>
#include <string>
#include "cppjieba/Jieba.hpp"
using std::vector;
using std::string;

class CppJieba
:public SplitTool
{
public:
    CppJieba();
    virtual  ~CppJieba();

    virtual vector<string> cut(string&);

private:
    vector<string> _words;
    vector<cppjieba::Word> _jiebaWords;
    string _result;
    cppjieba::Jieba _jieba;
    vector<string> _lineWord;
};
#endif
